﻿///<reference path="adapters/jquery/ajax.js" />

(function() {

		var control = function() {

		}

		control.prototype = {
			style: {},
			query: "",
			manual: false,

			ctor: function(params) {
				this.configure(params);
			},

			configure: function(params) {
				if (amp.isString(params))
					this.query = params
				else
					amp.extend(this, params);

				this.mapDom();
				this.mapEvents();
				if (!this.manual)
					this.render();
			},

			mapDom: function() {

			},

			mapEvents: function() {

			},

			render: function() {

			}
		};

		amp["class"]("amp.UI.Control", null, control);

	})()